<?php
  if(command("time")){
    SendCommand("PRIVMSG $channel :".date("h:i:sa"));
  }
  if(command("date")){
    SendCommand("PRIVMSG $channel :".date("F d, Y"));
  }
?>